home *** CD-ROM | disk | FTP | other *** search
/ MacHack 1997 / MacHack 1997.toast / Hacks / Hacks ’97 / MacsBug OSA / source code / MacsBug.r.h < prev    next >
Encoding:
Text File  |  1997-06-27  |  2.2 KB  |  97 lines  |  [TEXT/MPS ]

  1. // MacsBug.r.h
  2. // Copyright © 1991-96 by Apple Computer, Inc. All rights reserved. 
  3.  
  4. /*
  5.     Change History:
  6.          6/27/97    TWB        Initial version. 
  7. */
  8.  
  9. #ifndef __MACSBUG_R_H__
  10. #define __MACSBUG_R_H__
  11.  
  12.  
  13. //--------------------------------------------------------------------------------------------------
  14. // CONSTANTS 
  15. //--------------------------------------------------------------------------------------------------
  16.  
  17. #define kSignature            'SS02'            // Application signature 
  18. #define kFileType            'SF02'            // Data file type 
  19. #define kStationery            'sF02'            // Stationery file type 
  20.  
  21. // Bundle Constants
  22. // ------------------
  23.  
  24. #define kBundleID                        128
  25. #define kApplicationID                    128
  26. #define kDocumentID                        129
  27. #define kStationeryID                    130
  28.  
  29. // Constants for Menu IDs
  30. // ----------------------
  31.  
  32. #define mMacsBugMenu    4
  33.  
  34. // Command Numbers For Menu Items
  35. // ------------------------------
  36.  
  37. #define cCommandHandledByApplication    400
  38. #define cCommandHandledByDocument        401
  39. #define cCommandHandledByView            402
  40. #define cTrackerCommand                    403
  41.  
  42. #define cHeapCheck                        410
  43. #define cHeapZones                        411
  44. #define cHeapTotal                        412
  45. #define cHeapDisplay                    413
  46.  
  47. // STR# resources
  48. // --------------
  49.  
  50. #define kMacsBugMenuHelp                1000
  51. #define kMacsBugWindowTitles            1001
  52.  
  53. // Text styles
  54. // --------------
  55.  
  56. #define kSystemTextStyle                1000
  57.  
  58. // 'View' resources
  59. // --------------
  60.  
  61. #define kMacsBugWindowID                kDefaultWindowID
  62.  
  63. // Memory Management Resources
  64. // ---------------------------
  65.  
  66. #define kMacsBugSeg    1000
  67. #define kMacsBugMem    1000
  68. #define kMacsBugRes    1000
  69.  
  70. //========================================================================================
  71. // MacsBug Suite
  72. //========================================================================================
  73.  
  74. #define kAEMacsBug                'mxbg'
  75.  
  76. // Events
  77.  
  78. #define kAEMacsBugHeapZones        'hz..'
  79. #define kAEMacsBugHeapCheck        'hc..'
  80. #define kAEMacsBugHeapTotal        'ht..'
  81. #define kAEMacsBugHeapDisplay    'hd..'
  82.  
  83. // Classes
  84.  
  85. #define kAEMacsBugRegister        'regs'
  86.  
  87. // ComparisonOps
  88. // Enumerations
  89.  
  90. #define keyAEMacsBugZone        'zona'
  91. #define enumMacsBugZones        'zenm'
  92. #define kAEMacsBugZoneSystem    'zsys'
  93. #define kAEMacsBugZoneApplication    'zapp'
  94. #define kAEMacsBugZoneUser        'zusr'
  95.  
  96. #endif // __MACSBUG_R_H__
  97.